home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 May / PCWorld_2000-05_cd.bin / Software / TemaCD / povray / povwin3.exe / %MAINDIR% / Insert Menu / Shapes / blob.txt < prev    next >
Encoding:
Text File  |  2000-04-06  |  562 b   |  15 lines

  1. // create a smooth blobby shape
  2. #declare StrengthVal = 1.0 // (+ or -) strength of component's radiating density
  3. #declare RadiusVal   = 1.0 // (0 < RadiusVal) outer sphere of influence on other components
  4. blob
  5. {
  6.   // threshold (0.0 < threshold <= StrengthVal) surface falloff threshold #
  7.   threshold 0.6
  8.   sphere { < 0.75,   0,    0>, StrengthVal, RadiusVal }
  9.   sphere { <-0.375,  0.65, 0>, StrengthVal, RadiusVal }
  10.   sphere { <-0.375, -0.65, 0>, StrengthVal, RadiusVal }
  11.   cylinder { -z, +z, 0.1, StrengthVal, RadiusVal }
  12.   // [sturm]
  13.   scale 2
  14. }
  15.